/* service/integralShop/integralShop.wxss */
page {
  background-color: #fff;
}
.integral_shop {
  padding: 24rpx 24rpx 0;

  .integral_box {
    position: relative;
    border-radius: 16rpx;
    overflow: hidden;
    .bg {
      width: 100%;
      height: 100%;
      position: absolute;
      z-index: 1;
    }
    .integral_content {
      position: relative;
      z-index: 2;
      padding: 40rpx 48rpx;
      display: flex;
      align-items: center;
      justify-content: space-between;
      color: #fff;
      .name {
        font-size: 36rpx;
        font-weight: bold;
      }
      .schedule {
        margin-top: 38rpx;
        background-color: rgba(255, 255, 255, 0.22);
        border-radius: 200rpx;
        overflow: hidden;
        position: relative;
        z-index: 3;
        width: 272rpx;
        height: 12rpx;
        &_act {
          position: absolute;
          left: 0;
          top: 0;
          z-index: 4;
          height: 100%;
          background-color: #fff;
        }
      }
      .use_int {
        margin-top: 16rpx;
        font-size: 24rpx;
      }
      .int_r {
        flex-shrink: 0;
        margin-left: 20rpx;
        .int_text {
          font-size: 28rpx;
        }
        .price {
          margin-top: 16rpx;
          font-size: 48rpx;
          font-weight: bold;
        }
      }
    }
  }

  .cate {
    margin-top: 12rpx;
    display: flex;
    flex-wrap: wrap;
    &_item {
      width: 108rpx;
      margin: 36rpx 40rpx 0 0;
      &:nth-child(5n) {
        margin-right: 0;
      }
      .icon {
        width: 100rpx;
        height: 100rpx;
        margin: auto;
        image {
          width: 100%;
          height: 100%;
        }
      }
      .name {
        text-align: center;
        font-size: 24rpx;
        color: #000;
        margin-top: 12rpx;
      }
    }
  }

  .goods_box {
    margin-top: 40rpx;
    .title_type {
      display: flex;
      align-items: center;
      justify-content: space-between;
      .title {
        font-size: 36rpx;
        font-weight: bold;
        color: #323334;
      }
      .type {
        display: flex;
        &_item {
          margin-left: 20rpx;
          box-sizing: border-box;
          border: 2rpx solid #E8E8E8;
          padding: 10rpx 22rpx;
          font-size: 28rpx;
          color: #BFBFBF;
          border-radius: 200rpx;
        }
        &_item_act {
          border: none;
          background-color: #FFF2F2;
          color: #FF5733;
        }
      }
    }
    .goods {
      display: flex;
      flex-wrap: wrap;
      &_item {
        width: 340rpx;
        margin: 42rpx 22rpx 0 0;
        border-radius: 10rpx 10rpx 0 0;
        overflow: hidden;
        &:nth-child(2n) {
          margin-right: 0;
        }
        .image {
          width: 100%;
          height: 340rpx;
        }
        .name {
          margin-top: 28rpx;
          font-size: 30rpx;
          color: #333333;
        }
        .price_btn {
          margin-top: 22rpx;
          display: flex;
          align-items: center;
          justify-content: space-between;
          .price {
            display: flex;
            align-items: center;
            image {
              width: 28rpx;
              height: 28rpx;
              flex-shrink: 0;
            }
            text {
              margin-left: 8rpx;
              font-size: 32rpx;
              font-weight: bold;
              color: #F54414;
            }
          }
          .btn {
            flex-shrink: 0;
            width: 140rpx;
            height: 48rpx;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 200rpx;
            background: #FF4F1A;
            font-size: 24rpx;
            color: #fff;
          }
        }
      }
    }
    .status {
      padding: 20rpx 0;
      text-align: center;
      font-size: 28rpx;
      color: #a7a7a7;
    }
  }

  .safe_height {
    height: calc(env(safe-area-inset-bottom) + 40rpx);
  }

  .popup {
    padding: 36rpx 32rpx;
    .site {
      display: flex;
      align-items: center;
      justify-content: space-between;
      .name {
        font-size: 32rpx;
        color: #000000;
      }
      .address {
        margin-top: 12rpx;
        font-size: 28rpx;
        color: #C4C4C4;
      }
      .arrow {
        margin-left: 20rpx;
        flex-shrink: 0;
      }
    }
    .pick_time {
      margin-top: 14rpx;
      padding: 12rpx 10rpx;
      border-radius: 12rpx;
      background-color: #EDF7FF;
      font-size: 32rpx;
      color: #0B6BB5;
    }
    .customer_name {
      margin-top: 28rpx;
      padding: 24rpx 0;
      border-top: 2rpx solid #E3E3E3;
      border-bottom: 2rpx solid #E3E3E3;
      font-size: 32rpx;
      color: #000000;
    }
    .goods {
      margin-top: 32rpx;
      display: flex;
      align-items: center;
      .image {
        width: 160rpx;
        height: 160rpx;
        border-radius: 16rpx;
        flex-shrink: 0;
      }
      .content {
        margin-left: 20rpx;
        width: 100%;
        .name {
          font-size: 32rpx;
          font-weight: bold;
          color: #333333;
        }
        .date {
          margin-top: 14rpx;
          font-size: 24rpx;
          color: #9C9C9C;
        }
        .price_btn {
          margin-top: 26rpx;
          display: flex;
          align-items: flex-end;
          justify-content: space-between;
          .price {
            display: flex;
            align-items: center;
            transform: translateY(-4rpx);
            image {
              width: 28rpx;
              height: 28rpx;
            }
            text {
              margin-left: 8rpx;
              font-size: 32rpx;
              color: #F54414;
            }
          }
          .step {
            display: flex;
            align-items: center;
            .btn {
              font-size: 30rpx;
              color: #575757;
              flex-shrink: 0;
              padding: 14rpx;
              border-radius: 4rpx;
              border: 2rpx solid #EBEBEB;
            }
            .count {
              padding: 0 20rpx;
              font-size: 28rpx;
              color: #000000;
            }
          }
        }
      }
    }
    .button {
      margin-top: 90rpx;
      font-size: 32rpx;
      font-weight: bold;
      color: #fff;
      height: 94rpx;
      border-radius: 200rpx;
      background-color: #0B6BB5;
      display: flex;
      align-items: center;
      justify-content: center;
    }
  }
}